package com.example.product.dao;

import com.example.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 * 
 * @author cheval
 * @email chevalyang@163.com
 * @date 2022-12-28 23:23:09
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    /**
     * 批量删除分组关联的属性
     * @param relations
     */
    void deleteAttrGroupRelationAttr(@Param("relations") List<AttrAttrgroupRelationEntity> relations);
}
